package com.yunji.common.enums.common;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.common.enums
 * @Title: ErrorEnum
 * @Description:
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-04-22 16:05:23      V1.0        HuaAo       错误枚举类
 */

public enum  ErrorEnum {

    CHECKED_111001("111001","请输入您的真实姓名"),
    CHECKED_111002("111002","您输入的姓名过长"),
    CHECKED_111003("111003","请输入您的手机号"),
    CHECKED_111004("111004","请输入正确的手机号"),
    CHECKED_111005("111005","请输入您的详细地址"),
    CHECKED_111006("111006","您输入的详细地址过长"),
    CHECKED_111007("111007","您输入的备注信息过长"),
    CHECKED_111008("111008","请输入6-12位中英文数字"),
    CHECKED_111009("111009","请输入你的年龄"),
    CHECKED_111010("111010","请输入正确的年龄"),
    CHECKED_111011("111011","当前用户无权操作"),
    CHECKED_111012("111012","请输入正确的邮箱号"),
    BUSINESS_121001("121001","账号已存在"),
    BUSINESS_121002("121002","账号已处于审核中"),
    BUSINESS_121003("121003","未找到当前用户所属ID"),
    BUSINESS_121004("121004","未找到当前用户所属信息"),
    BUSINESS_121005("121005","未找到所属ID"),
    BUSINESS_121006("121006","未找到用户信息"),
    BUSINESS_121007("121007","一个手机号一天只能发送20次"),
    BUSINESS_121008("121008","一分钟内只能发送一次"),

    /**---------------------------------------------加盟商------------------------------------------------*/

    CHECKED_211001("211001","售卖品类不能为空"),
    BUSINESS_212001("212001","抱歉,你的提交已达上限"),

    /**---------------------------------------------代理商------------------------------------------------*/
    CHECKED_311001("311001","请输入代理商名称"),
    CHECKED_311002("311002","您输入的代理商名称过长"),
    CHECKED_311003("311003","请输入货柜上限"),
    CHECKED_311004("311004","请输入平台分成百分比"),
    CHECKED_311005("311005","请输入代理商分成百分比"),
    CHECKED_311006("311006","已超最大货柜上限"),
    CHECKED_311007("311007","平台分成不能超过百分百"),
    CHECKED_311008("311008","代理商分成不能超过百分白"),
    CHECKED_311009("311009","平台分成加代理商分成不等于百分百"),
    BUSINESS_312001("312001","当前代理商货柜数已超修改后的上限数"),
    BUSINESS_312002("312002","当前代理商货柜已达上限"),

    /**---------------------------------------------员工-------------------------------------------------*/
    CHECKED_411001("411001","请选择分成方式"),
    CHECKED_411002("411002","请输入分成比例/金额"),
    CHECKED_411003("411003","分成已达按交易金额最大上限"),
    CHECKED_411004("411004","分成已达按交易笔数最大上限"),

    /**---------------------------------------------商品-------------------------------------------------*/
    CHECKED_511001("511001","请输入商品名称"),
    CHECKED_511002("511002","您输入的商品名称过长"),
    CHECKED_511003("511003","您输入的商品描述过长"),
    CHECKED_511004("511004","请选择商品图片"),
    CHECKED_511005("511005","您输入的商品属性过长"),
    CHECKED_511006("511006","请选择商品类型"),
    CHECKED_511007("511007","请输入商品成本价"),
    CHECKED_511008("511008","请输入商品折扣价"),
    CHECKED_511009("511009","请输入商品原价"),
    CHECKED_511010("511010","您输入的成本价过大"),
    CHECKED_511011("511011","您输入的折扣价过大"),
    CHECKED_511012("511012","您输入的原价过大"),
    CHECKED_511013("511013","原价不能低于成本价"),
    CHECKED_511014("511014","销售价不能低于成本价"),
    CHECKED_511015("511015","销售价不能超过原价"),
    CHECKED_511016("511016","请输入最大区间最大值"),
    CHECKED_511017("511017","请输入最大区间最小值"),
    CHECKED_511018("511018","您输入的最大区间最大值过大"),
    CHECKED_511019("511019","您输入的最大区间最小值过大"),
    CHECKED_511020("511020","定价区间最大值不能超过原价"),
    CHECKED_511021("511021","定价区间最大值不能低于区间最小值"),
    CHECKED_511022("511022","定价区间最小值高于原价"),
    CHECKED_511023("511023","定价区间最小值不能低于成本价"),
    CHECKED_511024("511024","您输入的成本价过小"),
    CHECKED_511025("511025","请选择商品单位"),
    CHECKED_511026("511026","请选择商品品牌"),
    CHECKED_511027("511027","请输入商品sku"),
    CHECKED_511028("511028","定价区间最小值不能高于销售价"),
    CHECKED_511029("511029","定价区间最大值不能低于销售价"),
    CHECKED_511030("511030","请输入商品厚度"),
    BUSINESS_512001("512001","有商品使用该类型"),
    BUSINESS_512002("512001","有商品使用该单位"),
    BUSINESS_512003("512003","有商品使用该品牌"),
    BUSINESS_512004("512004","有商品使用该属性"),
    BUSINESS_512005("512005","不可删除使用中的属性值"),
    BUSINESS_512006("512006","缺少商品授权"),
    BUSINESS_512007("512007","格子必须有商品"),
    BUSINESS_512008("512007","未找到商品信息"),
    BUSINESS_512009("512009","网点分润不合理"),
    BUSINESS_512010("512010","改商品已被删除,请联系管理员"),

    /**---------------------------------------------网点-------------------------------------------------*/
    CHECKED_611001("611001","请输入网点名称"),
    CHECKED_611002("611002","你输入的网点名称过长"),
    CHECKED_611003("611003","请选择网点类型"),
    CHECKED_611004("611004","您输入的网点地址过长"),
    CHECKED_611005("611005","存在相同电话的网点审核记录"),
    BUSINESS_612001("612001","该网点名称已存在"),
    BUSINESS_612002("612002","未找到当前网点信息"),
    BUSINESS_612003("612003","未找到审核记录"),
    BUSINESS_612004("612004","当前状态不可进行审核操作"),
    BUSINESS_612005("612005","当前状态不可进行取消操作"),
    BUSINESS_612006("612006","该点位已绑定员工,无法删除"),
    BUSINESS_612007("612007","该点位类型已绑定点位,无法删除"),

    /**---------------------------------------------货柜-------------------------------------------------*/
    CHECKED_711001("711001","有货柜使用该类型"),
    CHECKED_711002("711002","获取容量上限失败"),
    BUSINESS_712001("712001","货柜不存在"),
    BUSINESS_712002("712002","货柜不在线"),
    BUSINESS_712003("712003","版本文件名称已存在"),
    BUSINESS_712004("712004","更改状态失败"),
    BUSINESS_712005("712005","未找到升级文件"),
    BUSINESS_712006("712006","二维码已被绑定,请联系管理员,谢谢"),
    BUSINESS_712007("712007","该点位已绑定货柜,无法删除"),
    BUSINESS_712008("712008","未找到模板"),
    BUSINESS_712009("712009","文件项目与后台项目不一致"),
    BUSINESS_712010("712010","文件环境与后台环境不一致"),
    BUSINESS_712011("712011","货柜版本参数格式错误"),
    BUSINESS_712012("712012","未找到货柜版本"),

    /**---------------------------------------------库存-------------------------------------------------*/
    CHECKED_811001("811001","请选择所属单位"),
    CHECKED_811002("811002","请选择业务类型"),
    CHECKED_811003("811003","请添加商品"),
    CHECKED_811004("811004","请输入预计出入库量"),
    CHECKED_811005("811005","请输入出入库类型"),
    CHECKED_811006("811006","请传入单据ID"),
    CHECKED_811007("811007","请传入单据Code"),
    CHECKED_811008("811008","请输入物流公司"),
    CHECKED_811009("811009","请输入物流单号"),
    CHECKED_811010("811010","请输入运费"),
    CHECKED_811011("811011","请输入调拨数量"),
    CHECKED_811012("811012","数量必须大于零"),
    CHECKED_811013("811013","请选择调出单位"),
    CHECKED_811014("811014","请选择调入单位"),
    CHECKED_811015("811015","请输入报废数量"),
    CHECKED_811016("811016","请选择出库单位"),
    CHECKED_811017("811017","请上传照片"),
    CHECKED_811018("811018","请输入坏返数量"),
    CHECKED_811019("811019","请选择入库单位"),
    CHECKED_811020("811020","请选择处理方式"),
    CHECKED_811021("811021","请传入坏返ID"),
    CHECKED_811022("811022","请传入审核状态"),
    CHECKED_811023("811023","可用库存不能为空"),
    CHECKED_811024("811024","请输入盘点标题"),
    CHECKED_811025("811025","请选择盘点类型"),
    CHECKED_811026("811026","请上传附件照片"),
    CHECKED_811027("811027","不可调拨同一单位"),
    BUSINESS_812001("812001","请输入实际出入库量"),
    BUSINESS_812002("812002","一个用户只能有一条草稿"),
    BUSINESS_812003("812003","商品库存不足"),
    BUSINESS_812004("812004","未找到报废单"),
    BUSINESS_812005("812005","当前状态不可审核"),
    BUSINESS_812006("812006","请输入驳回原因"),
    BUSINESS_812007("812007","未找到坏返单"),
    BUSINESS_812008("812008","未找到商品信息"),
    BUSINESS_812009("812009","未找到盘点单"),
    BUSINESS_812010("812010","未找到库存信息"),
    BUSINESS_812011("812011","未找到调拨单"),
    BUSINESS_812012("812012","未找到维修单"),
    BUSINESS_812013("812013","未找到生产单"),
    BUSINESS_812014("812014","未找到采购单"),
    BUSINESS_812015("812015","未找到退货单"),
    BUSINESS_812016("812016","单号不存在"),
    BUSINESS_812017("812017","未找到出入库类型"),
    BUSINESS_812018("812018","未找到单据类型"),
    BUSINESS_812019("812019","未找到商品信息"),
    BUSINESS_812020("812020","未找到出入库单据"),
    BUSINESS_812021("812021","未找到出入库单据记录详情"),

    /*-------------------------------------------------------统计-------------------------------------------------*/
    CHECKED_911001("911001","请选择统计类型"),
    CHECKED_911002("911002","请选择开始时间"),
    CHECKED_911003("911003","请选择结束时间"),
    ;


    private final String code;
    private final String text;

    ErrorEnum(String code, String text)
    {
        this.code = code;
        this.text = text;
    }

    public String getCode() {
        return code;
    }

    public String getText() {
        return text;
    }

}